<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmMarcaABM.aspx.vb" Inherits="TGB.FrmMarcaABM" 
    title="MarcaABM" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="DIV1" style="width: 100%; height: 18px; text-align: left; background-color: #ccccff;" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Administracion Marcas" Font-Underline="False" Height="20px"></asp:Label></div><hr /> 
    <div style="width: 100%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <br />
    <table class="tabla" style="width: 715px; height: 74px; text-align: center;" >
        <tr>
            <td align="right" style="width: 14%; height: 1px;">
                <br />
            </td>
            <td style="width: 40%; height: 1px;" align="left" >
                </td>
            <td align="right" style="width: 25%; height: 1px;">
                </td>
            <td style="height: 1px; width: 25%;" align="left" >
                </td>
        </tr>
        <tr>
            <td align="right" style="width: 14%; height: 20px;">
                Marca</td>
            <td style="width: 40%; height: 20px;" align="left" >
                <asp:TextBox ID="TxtDescripcion" runat="server" CssClass="campotxt" Width="234px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RQCampoObligatorio" runat="server" ControlToValidate="TxtDescripcion"
                    ErrorMessage="RequiredFieldValidator">(*)</asp:RequiredFieldValidator></td>
            <td align="right" style="width: 25%; height: 20px;">
                </td>
            <td style="width: 25%; height: 20px;" align="left" >
                </td>
        </tr>
        <tr>
            <td align="right" style="width: 14%; height: 4px;">
                </td>
            <td style="width: 40%; height: 4px;" align="left" >
                <asp:Label ID="Label1" runat="server" Text="Campos Obligatorios"></asp:Label></td>
            <td align="right" style="width: 25%; height: 4px;">
                </td>
            <td style="width: 25%; height: 4px;" align="left" >
                </td>
        </tr>
        <tr>
            <td align="right" colspan="4" style="height: 9px">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp;&nbsp;<asp:HiddenField ID="HFMarca" runat="server" />
                <asp:LinkButton ID="LnkGuardar" runat="server" CssClass="BotonLink">Guadar</asp:LinkButton> /
                <asp:LinkButton ID="lnkEliminar" runat="server" CssClass="BotonLink">Eliminar</asp:LinkButton> /
                <asp:LinkButton ID="lnkBuscar" runat="server" CssClass="BotonLink">Buscar</asp:LinkButton> /
                <asp:LinkButton ID="lnkcancelar" runat="server" CssClass="BotonLink">Cancelar</asp:LinkButton>
            
            </td>
        </tr>
        
    </table>
        </div>
    <hr />
    <div style="width: 100%; height: 100%; background-color: #efefef">
        <asp:GridView ID="GVMarca" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" BorderColor="Tan"
            BorderWidth="1px" CellPadding="2" CssClass="tabla"
            ForeColor="Black" GridLines="None" PageSize="25" Style="width: 100%" Width="812px">
            <PagerSettings PageButtonCount="25" />
            <FooterStyle BackColor="Tan" />
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Select"
                            Text="Ver"></asp:LinkButton>
                        <asp:HiddenField ID="HFCodigoMarca" runat="server" Value='<%# bind("CodigoMarca") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Descripcion">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("descripcion") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="LblDescripcion" runat="server" Text='<%# Bind("descripcion") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
            <PagerStyle BackColor="Tan" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
            <AlternatingRowStyle BackColor="PaleGoldenrod" />
        </asp:GridView>
    </div>

</asp:Content>
